package cn.kgc.ssm.dao;

import cn.kgc.ssm.pojo.AppInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author yxp
 * @create 2021-05-20 23:57
 */
public interface AppInfoMapper {

    List<AppInfo> getAppInfoList(@Param("querySoftwareName") String querySoftwareName,
                                 @Param("queryFlatformId") Integer queryFlatformId,
                                 @Param("queryCategoryLevel1") Integer queryCategoryLevel1,
                                 @Param("queryCategoryLevel2") Integer queryCategoryLevel2,
                                 @Param("queryCategoryLevel3") Integer queryCategoryLevel3);

    AppInfo getAppInfoById(Integer aid);

    void updateStatusById(@Param("status") Integer status, @Param("id") Integer id);

}
